.class Les/qy$w$b$a;
.super Ljava/lang/Object;
.source "BottomMenuItemProvider.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/qy$w$b;->onClick(Landroid/content/DialogInterface;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroid/content/DialogInterface;

.field final synthetic b:I

.field final synthetic c:Les/qy$w$b;


# direct methods
.method constructor <init>(Les/qy$w$b;Landroid/content/DialogInterface;I)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/qy$w$b$a;->c:Les/qy$w$b;

    iput-object p2, p0, Les/qy$w$b$a;->a:Landroid/content/DialogInterface;

    iput p3, p0, Les/qy$w$b$a;->b:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .line 1
    iget-object v0, p0, Les/qy$w$b$a;->a:Landroid/content/DialogInterface;

    invoke-interface {v0}, Landroid/content/DialogInterface;->dismiss()V

    .line 2
    iget v0, p0, Les/qy$w$b$a;->b:I

    const/4 v1, 0x1

    if-nez v0, :cond_0

    .line 3
    iget-object v0, p0, Les/qy$w$b$a;->c:Les/qy$w$b;

    iget-object v0, v0, Les/qy$w$b;->b:Les/qy$w;

    iget-object v0, v0, Les/qy$w;->a:Les/qy;

    invoke-static {v0}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    iget-object v2, p0, Les/qy$w$b$a;->c:Les/qy$w$b;

    iget-object v2, v2, Les/qy$w$b;->b:Les/qy$w;

    iget-object v2, v2, Les/qy$w;->a:Les/qy;

    .line 4
    invoke-static {v2}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v2

    .line 5
    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Ljava/lang/String;Z)V

    goto :goto_0

    :cond_0
    if-ne v0, v1, :cond_1

    .line 6
    iget-object v0, p0, Les/qy$w$b$a;->c:Les/qy$w$b;

    iget-boolean v0, v0, Les/qy$w$b;->a:Z

    if-eqz v0, :cond_2

    :cond_1
    iget v0, p0, Les/qy$w$b$a;->b:I

    const/4 v2, 0x4

    if-ne v0, v2, :cond_3

    .line 7
    :cond_2
    iget-object v0, p0, Les/qy$w$b$a;->c:Les/qy$w$b;

    iget-object v0, v0, Les/qy$w$b;->b:Les/qy$w;

    iget-object v0, v0, Les/qy$w;->a:Les/qy;

    invoke-static {v0}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    iget-object v1, p0, Les/qy$w$b$a;->c:Les/qy$w$b;

    iget-object v1, v1, Les/qy$w$b;->b:Les/qy$w;

    iget-object v1, v1, Les/qy$w;->a:Les/qy;

    .line 8
    invoke-static {v1}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    .line 9
    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Ljava/lang/String;Z)V

    goto :goto_0

    :cond_3
    if-ne v0, v1, :cond_4

    .line 10
    iget-object v0, p0, Les/qy$w$b$a;->c:Les/qy$w$b;

    const-string v1, "templates/template.docx"

    const-string v2, ".docx"

    const-string v3, "New_word"

    invoke-static {v0, v1, v2, v3}, Les/qy$w$b;->a(Les/qy$w$b;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_4
    const/4 v1, 0x2

    if-ne v0, v1, :cond_5

    .line 11
    iget-object v0, p0, Les/qy$w$b$a;->c:Les/qy$w$b;

    const-string v1, "templates/template.xlsx"

    const-string v2, ".xlsx"

    const-string v3, "New_excel"

    invoke-static {v0, v1, v2, v3}, Les/qy$w$b;->a(Les/qy$w$b;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_5
    const/4 v1, 0x3

    if-ne v0, v1, :cond_6

    .line 12
    iget-object v0, p0, Les/qy$w$b$a;->c:Les/qy$w$b;

    const-string v1, "templates/template.pptx"

    const-string v2, ".pptx"

    const-string v3, "New_powerpoint"

    invoke-static {v0, v1, v2, v3}, Les/qy$w$b;->a(Les/qy$w$b;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :cond_6
    :goto_0
    return-void
.end method
